﻿<%@ Page Title="阳光积分查看" Language="C#" MasterPageFile="~/Master/MasterPage_New.master"
    AutoEventWireup="true" CodeBehind="SunScoreList.aspx.cs" Inherits="HZ.Supervise.Web.Secondphase.NewReport.SunScoreList" %>

<%@ Register Src="~/Common/AreaControls.ascx" TagName="AreaControl" TagPrefix="uc3" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="tabnav">
        <ul>
            <li class="active"><a href="#">阳光积分查看</a></li>
            <li><a href="SunMarkList.aspx">阳光积分得分查看</a></li>
            <li><a href="HospitalScoreStatistics.aspx">医院积分情况统计</a></li>
        </ul>
    </div>
    <div id="tabcontent">
        <table class="querylist">
            <tr>
                <td>
                    <table class="querylist">
                        <tr class="ltlAdvance">
                            <td align="right">
                                所在地区：
                            </td>
                            <td align="left">
                                <uc3:AreaControl ID="ddlArea" runat="server" />
                            </td>
                            <td align="right">
                                医院名称：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtHospitalName" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr class="ltlAdvance">
                            <td align="right">
                                年份：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtyear" runat="server" Width="40"></asp:TextBox>月份：<asp:TextBox ID="txtmonth" runat="server" Width="30"></asp:TextBox>
                            </td>
                            <td align="right">
                                医院等级：
                            </td>
                            <td align="left">
                                <asp:DropDownList ID="ddlLevel" runat="server">
                                    <asp:ListItem Value="">全部</asp:ListItem>
                                    <asp:ListItem Value="三级">三级</asp:ListItem>
                                    <asp:ListItem Value="二级">二级</asp:ListItem>
                                    <asp:ListItem Value="二级以下">二级以下</asp:ListItem>
                                </asp:DropDownList>
                            </td>
                        </tr>
                    </table>
                </td>
                <td width="100px">
                    <hz:HzButton ID="btnQuery" runat="server" Text="查  询" OnClick="btnQuery_Click" CssClass="btn" />
                </td>
            </tr>
        </table>
    </div>
    <asp:GridView ID="gvwInfo" runat="server" EmptyDataText="暂无符合条件的数据！" AutoGenerateColumns="False"
        CssClass="mainlist" DataKeyNames="HospitalID,HospitalName">
        <Columns>
            <asp:TemplateField HeaderText="序号">
                <ItemTemplate>
                    <%#Container.DataItemIndex + 1 + AspNetPager1.PageSize * (AspNetPager1.CurrentPageIndex-1) %></ItemTemplate>
                <HeaderStyle Width="30px" />
            </asp:TemplateField>
            <asp:BoundField DataField="rowno" HeaderText="序号" Visible="false" />
            <asp:BoundField DataField="HospitalName" HeaderText="医院名称" />
            <asp:BoundField DataField="Levels2" HeaderText="医院等级" />
            <asp:BoundField DataField="AreaName" HeaderText="地区" />
            <asp:BoundField DataField="SunYear" HeaderText="年" />
            <asp:BoundField DataField="SunMonth" HeaderText="月" />
            <asp:TemplateField HeaderText="是否开展采购">
                <ItemTemplate>
                    <asp:Label ID="bb" runat="server" Text='<%#Eval("IsCaiGou")==null?"否":Eval("IsCaiGou").ToString()=="1"?"是":"否" %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="IsCaiGouBL" HeaderText="是否开展采购" Visible="false" />
            <asp:BoundField DataField="IsOnWebBuyBL" HeaderText="是否上网采购" Visible="false" />
            <asp:TemplateField HeaderText="是否上网采购">
                <ItemTemplate>
                    <asp:Label ID="aa" runat="server" Text='<%#Eval("IsOnWebBuy")==null?"否":Eval("IsOnWebBuy").ToString()=="1"?"是":"否" %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="采购均为挂网产品">
                <ItemTemplate>
                    <asp:Label ID="aa" runat="server" Text='<%#Eval("isAllGuaWang")==null?"否":Eval("isAllGuaWang").ToString()=="1"?"是":"否" %>'></asp:Label>
                </ItemTemplate> 
            </asp:TemplateField>
            <asp:BoundField DataField="isAllGuaWangBL" HeaderText="采购均为挂网产品" Visible="false" /> 
            <asp:BoundField DataField="NoWarehouse" HeaderText="未及时入库" ReadOnly="true" />
            <asp:BoundField DataField="NoAssess" HeaderText="逾期未评分" ReadOnly="true" />
            <asp:BoundField DataField="IsShiGu" HeaderText="医疗纠纷或事故" ReadOnly="true" />
            <asp:BoundField DataField="IsPeiHe" HeaderText="未配合工作" ReadOnly="true" />
            <asp:BoundField DataField="NoSame" HeaderText="未上报正确数据" ReadOnly="true" />
            <asp:BoundField DataField="NoJianDu" HeaderText="未接受监督" ReadOnly="true" />
            <asp:BoundField DataField="IsShouHui" HeaderText="商业贿赂" ReadOnly="true" />
            <asp:BoundField DataField="IsZhiXing" HeaderText="未执行价格规定" ReadOnly="true" />
            <%--<asp:BoundField DataField="MoreJiaQuanPrice" HeaderText="产品高于平均采购价" ReadOnly="true"/>
            <asp:BoundField DataField="MoresShenPrice" HeaderText="省内最高价格采购" ReadOnly="true"/> --%>
            <%--下面注释不要删--%>
            <asp:TemplateField HeaderText="产品高于平均采购价"> 
                <ItemTemplate>
                    <a href='MoreJQPrice.aspx?hid=<%#Eval("HospitalId") %>&year=<%#Eval("SunYear") %>&month=<%#Eval("SunMonth") %>'><%#Eval("MoreJiaQuanPrice") %></a>
                </ItemTemplate>
            </asp:TemplateField> 
            <asp:TemplateField HeaderText="省内最高价格采购">
                <ItemTemplate>
                    <a href='MoreShenPrice.aspx?hid=<%#Eval("HospitalId") %>&year=<%#Eval("SunYear") %>&month=<%#Eval("SunMonth") %>'><%#Eval("MoresShenPrice") %></a>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="MinShenPicBuy" HeaderText="省内最低价格采购" ReadOnly="true" />
            <asp:BoundField DataField="NoBackMoney" HeaderText="未回款" ReadOnly="true" />
            <asp:BoundField DataField="WrongPut" HeaderText="错报/漏报积分" ReadOnly="true" />
        </Columns>
    </asp:GridView>
    <div class="page">
        <webdiyer:AspNetPager ID="AspNetPager1" runat="server" OnPageChanged="AspNetPager1_OnPageChanged"
            AlwaysShow="true">
        </webdiyer:AspNetPager>
    </div>
    <div class="listctrl">
        <hz:HzButton ID="Export" runat="server" Text="导出Excel" CssClass="btn" OnClick="Export_Click" />
    </div>
    <div class="listip">
        <ul>
            <li>说明： </li>
        </ul>
    </div>
</asp:Content>
